import { IsNotEmpty } from 'class-validator';
import { PoemTag } from '../entities/poem-tag.entity';
import { CreateDto } from './create.dto';

export class UpdateDto extends CreateDto {
  @IsNotEmpty({ message: 'id不能为空' })
  id: typeof PoemTag.prototype.id;
}
